package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.BlockTradeBean;

/**
* 描述：大宗交易
* @author: codesmith
**/
@Data
@TableName("block_trade")
public class BlockTradeEntity implements BlockTradeBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 交易日历
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;

    @TableField("`price`") protected Double price;

    @TableField("`vol`") protected Double vol;
    /*
    * 成交金额
    */
    @TableId
    @TableField("`amount`") protected Double amount;

    @TableField("`buyer`") protected String buyer;

    @TableField("`seller`") protected String seller;
}